+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bitcoin-24.0.1nb12/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bitcoin-24.0.1nb12/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for bitcoin-24.0.1nb12 Making all in src gmake[1]: Entering directory '/home/pbulk/build/finance/bitcoin/work/bitcoin-24.0.1/src' gmake[2]: Entering directory '/home/pbulk/build/finance/bitcoin/work/bitcoin-24.0.1/src' CXX bitcoind-bitcoind.o In file included from ./util/system.h:21, from bitcoind.cpp:24: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX init/bitcoind-bitcoind.o In file included from ./i2p.h:11, from ./net.h:16, from ./interfaces/node.h:9, from init/bitcoind.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-addrdb.o In file included from ./threadinterrupt.h:8, from ./util/sock.h:9, from ./netbase.h:15, from addrdb.cpp:15: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./logging/timer.h:9, from addrdb.cpp:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-addrman.o In file included from ./addrman_impl.h:13, from addrman.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' addrman.cpp:1073:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./addrman_impl.h:8: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-banman.o In file included from ./banman.h:12, from banman.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' banman.cpp:50:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-blockencodings.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from blockencodings.cpp:13: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txmempool.h:27: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-blockfilter.o CXX libbitcoin_node_a-chain.o CXX consensus/libbitcoin_node_a-tx_verify.o CXX libbitcoin_node_a-dbwrapper.o In file included from ./util/system.h:21, from dbwrapper.cpp:12: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from dbwrapper.cpp:5: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-deploymentstatus.o CXX libbitcoin_node_a-flatfile.o In file included from ./util/system.h:21, from flatfile.cpp:11: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from flatfile.cpp:9: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-headerssync.o In file included from ./chain.h:13, from ./headerssync.h:9, from headerssync.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-httprpc.o In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from ./rpc/server.h:10, from httprpc.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-httpserver.o In file included from ./threadinterrupt.h:8, from ./util/sock.h:9, from ./netbase.h:15, from httpserver.cpp:13: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' httpserver.cpp:247:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' httpserver.cpp:89:9: required from 'bool WorkQueue<WorkItem>::Enqueue(WorkItem*) [with WorkItem = HTTPClosure]' httpserver.cpp:266:34: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-i2p.o In file included from ./i2p.h:11, from i2p.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' i2p.cpp:136:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX index/libbitcoin_node_a-base.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from index/base.cpp:18: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./threadinterrupt.h:8, from ./index/base.h:10, from index/base.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from ./index/base.h:8: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX index/libbitcoin_node_a-blockfilterindex.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from index/blockfilterindex.cpp:12: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from ./index/blockfilterindex.h:10, from index/blockfilterindex.cpp:9: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from index/blockfilterindex.cpp:7: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' index/blockfilterindex.cpp:396:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX index/libbitcoin_node_a-coinstatsindex.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from index/coinstatsindex.cpp:15: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./threadinterrupt.h:8, from ./index/base.h:10, from ./index/coinstatsindex.h:9, from index/coinstatsindex.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from ./index/base.h:8: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX index/libbitcoin_node_a-txindex.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from index/txindex.cpp:10: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./threadinterrupt.h:8, from ./index/base.h:10, from ./index/txindex.h:8, from index/txindex.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from ./index/base.h:8: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-init.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from ./node/chainstate.h:9, from init.cpp:42: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./banman.h:12, from init.cpp:17: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' init.cpp:621:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX kernel/libbitcoin_node_a-chain.o In file included from ./chain.h:13, from kernel/chain.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' kernel/chain.cpp:19:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX kernel/libbitcoin_node_a-checks.o CXX kernel/libbitcoin_node_a-coinstats.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from kernel/coinstats.cpp:23: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from kernel/coinstats.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX kernel/libbitcoin_node_a-context.o CXX kernel/libbitcoin_node_a-mempool_persist.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from kernel/mempool_persist.cpp:16: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from kernel/mempool_persist.cpp:15: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from kernel/mempool_persist.cpp:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' kernel/mempool_persist.cpp:134:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-mapport.o In file included from ./i2p.h:11, from ./net.h:16, from mapport.cpp:13: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from mapport.cpp:12: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-net.o In file included from ./i2p.h:11, from ./net.h:16, from net.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' net.cpp:167:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-net_processing.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from net_processing.cpp:35: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./i2p.h:11, from ./net.h:16, from ./net_processing.h:9, from net_processing.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-netgroup.o CXX node/libbitcoin_node_a-blockstorage.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from node/blockstorage.cpp:22: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from ./node/blockstorage.h:9, from node/blockstorage.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-caches.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from node/caches.cpp:9: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txdb.h:11, from node/caches.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from ./txdb.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-chainstate.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from ./node/chainstate.h:9, from node/chainstate.cpp:5: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from ./validation.h:15: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-coin.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from node/coin.cpp:8: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txmempool.h:27: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-connection_types.o CXX node/libbitcoin_node_a-context.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from node/context.cpp:16: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./banman.h:12, from node/context.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-eviction.o CXX node/libbitcoin_node_a-interface_ui.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/core/no_exceptions_support.hpp:23, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/optional_last_value.hpp:14, from node/interface_ui.cpp:9: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition CXX node/libbitcoin_node_a-interfaces.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./policy/rbf.h:11, from node/interfaces.cpp:30: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./banman.h:12, from node/interfaces.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-mempool_args.o In file included from ./util/system.h:21, from node/mempool_args.cpp:19: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from node/mempool_args.cpp:12: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-mempool_persist_args.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from node/mempool_persist_args.cpp:9: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./util/system.h:21, from node/mempool_persist_args.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-miner.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./node/miner.h:10, from node/miner.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txmempool.h:27: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-minisketchwrapper.o CXX node/libbitcoin_node_a-psbt.o CXX node/libbitcoin_node_a-transaction.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from node/transaction.cpp:12: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./threadinterrupt.h:8, from ./index/base.h:10, from ./index/txindex.h:8, from node/transaction.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from ./index/base.h:8: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX node/libbitcoin_node_a-validation_cache_args.o In file included from ./util/system.h:21, from node/validation_cache_args.cpp:9: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-noui.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/connection.hpp:17, from noui.cpp:14: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition CXX policy/libbitcoin_node_a-fees.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from policy/fees.cpp:19: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./policy/fees.h:12, from policy/fees.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' policy/fees.cpp:511:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX policy/libbitcoin_node_a-fees_args.o In file included from ./util/system.h:21, from policy/fees_args.cpp:3: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX policy/libbitcoin_node_a-packages.o CXX policy/libbitcoin_node_a-rbf.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./policy/rbf.h:11, from policy/rbf.cpp:5: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txmempool.h:27: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./policy/rbf.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX policy/libbitcoin_node_a-settings.o CXX libbitcoin_node_a-pow.o CXX libbitcoin_node_a-rest.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from ./rpc/blockchain.h:13, from rest.cpp:19: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from rest.cpp:9: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-blockchain.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from ./rpc/blockchain.h:13, from rpc/blockchain.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./rpc/blockchain.h:12: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' rpc/blockchain.cpp:246:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-fees.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from rpc/fees.cpp:14: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./policy/fees.h:12, from rpc/fees.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-mempool.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from ./rpc/blockchain.h:13, from rpc/mempool.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./rpc/blockchain.h:12: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-mining.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./node/miner.h:10, from rpc/mining.cpp:19: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from rpc/mining.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' rpc/mining.cpp:699:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-net.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from ./rpc/blockchain.h:13, from rpc/net.cpp:18: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from ./rpc/server.h:10, from rpc/net.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' rpc/net.cpp:658:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-node.o In file included from ./chain.h:13, from ./index/blockfilterindex.h:10, from rpc/node.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./scheduler.h:80:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-output_script.o CXX rpc/libbitcoin_node_a-rawtransaction.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./policy/rbf.h:11, from rpc/rawtransaction.cpp:21: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from rpc/rawtransaction.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-server.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from rpc/server.cpp:16: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from ./rpc/server.h:10, from rpc/server.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' rpc/server.cpp:54:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' rpc/server.cpp:312:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-server_util.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from rpc/server_util.cpp:12: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./i2p.h:11, from ./net.h:16, from ./net_processing.h:9, from rpc/server_util.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_node_a-signmessage.o CXX rpc/libbitcoin_node_a-txoutproof.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from rpc/txoutproof.cpp:18: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from rpc/txoutproof.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX script/libbitcoin_node_a-sigcache.o In file included from ./util/system.h:21, from script/sigcache.cpp:11: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-shutdown.o CXX libbitcoin_node_a-signet.o In file included from ./util/system.h:21, from signet.cpp:23: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-timedata.o In file included from timedata.cpp:13: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' timedata.cpp:31:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-torcontrol.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./torcontrol.h:14, from torcontrol.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./i2p.h:11, from ./net.h:16, from torcontrol.cpp:12: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-txdb.o In file included from ./txdb.h:11, from txdb.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./dbwrapper.h:10, from ./txdb.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-txmempool.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from txmempool.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txmempool.h:27: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-txorphanage.o In file included from ./i2p.h:11, from ./net.h:16, from ./txorphanage.h:8, from txorphanage.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-txrequest.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index_container.hpp:18, from txrequest.cpp:13: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./i2p.h:11, from ./net.h:16, from ./txrequest.h:9, from txrequest.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-validation.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./validation.h:28, from validation.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from ./validation.h:15: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' validation.cpp:2544:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' validation.cpp:2974:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-validationinterface.o In file included from ./validationinterface.h:10, from validationinterface.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./scheduler.h:80:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_node_a-versionbits.o In file included from ./chain.h:13, from ./versionbits.h:8, from versionbits.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' versionbits.cpp:205:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_node_a-init.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/init.cpp:23: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./i2p.h:11, from ./net.h:16, from wallet/init.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./net.h:717:13: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./interfaces/wallet.h:13, from wallet/init.cpp:9: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./net.h:757:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ AR libbitcoin_node.a CXX wallet/libbitcoin_wallet_a-coincontrol.o In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./wallet/coincontrol.h:8, from wallet/coincontrol.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-context.o CXX wallet/libbitcoin_wallet_a-crypter.o In file included from ./script/signingprovider.h:15, from ./wallet/crypter.h:10, from wallet/crypter.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./wallet/crypter.h:9: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-db.o In file included from ./util/system.h:21, from wallet/db.cpp:9: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from wallet/db.cpp:8: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-dump.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/dump.cpp:9: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./wallet/wallet.h:13: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-external_signer_scriptpubkeyman.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/external_signer_scriptpubkeyman.h:8, from wallet/external_signer_scriptpubkeyman.cpp:7: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./util/system.h:21, from ./external_signer.h:9, from wallet/external_signer_scriptpubkeyman.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-feebumper.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/feebumper.cpp:16: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./policy/fees.h:12, from wallet/feebumper.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-fees.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/fees.cpp:9: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./wallet/coincontrol.h:8, from wallet/fees.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-interfaces.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/interfaces.cpp:26: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./policy/fees.h:12, from wallet/interfaces.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./interfaces/wallet.h:13, from wallet/interfaces.cpp:5: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-load.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/spend.h:13, from wallet/load.cpp:16: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./scheduler.h:9, from wallet/load.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./scheduler.h:80:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-receive.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/receive.cpp:7: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./wallet/wallet.h:13: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./wallet/transaction.h:12, from ./wallet/receive.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-addresses.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/rpc/addresses.cpp:10: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from wallet/rpc/addresses.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/rpc/addresses.cpp:6: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-backup.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/rpc/backup.cpp:22: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./chain.h:13, from wallet/rpc/backup.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-coins.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/rpc/coins.cpp:10: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from wallet/rpc/coins.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/rpc/coins.cpp:6: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-encrypt.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/rpc/encrypt.cpp:7: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from wallet/rpc/encrypt.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' wallet/rpc/encrypt.cpp:41:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-spend.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/spend.h:13, from wallet/rpc/spend.cpp:19: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from wallet/rpc/spend.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/rpc/spend.cpp:7: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-signmessage.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/rpc/signmessage.cpp:9: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from wallet/rpc/signmessage.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/rpc/signmessage.cpp:5: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-transactions.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/multi_index/hashed_index.hpp:16, from ./txmempool.h:31, from ./policy/rbf.h:11, from wallet/rpc/transactions.cpp:7: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./txmempool.h:27: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./txmempool.h:751:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/rpc/transactions.cpp:6: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-util.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/rpc/util.cpp:11: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from wallet/rpc/util.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/rpc/libbitcoin_wallet_a-wallet.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/rpc/wallet.cpp:12: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./rpc/util.h:9, from ./rpc/server.h:10, from wallet/rpc/wallet.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/rpc/wallet.cpp:7: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-scriptpubkeyman.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from wallet/scriptpubkeyman.cpp:16: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from wallet/scriptpubkeyman.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from wallet/scriptpubkeyman.cpp:5: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-spend.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from ./wallet/receive.h:11, from wallet/spend.cpp:18: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from wallet/spend.cpp:9: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-transaction.o CXX wallet/libbitcoin_wallet_a-wallet.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/wallet.cpp:6: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./wallet/wallet.h:13: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' wallet/wallet.cpp:111:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' wallet/wallet.cpp:199:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-walletdb.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/walletdb.cpp:23: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./script/descriptor.h:8, from ./wallet/walletutil.h:9, from ./wallet/walletdb.h:11, from wallet/walletdb.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./wallet/db.h:12, from ./wallet/walletdb.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-walletutil.o In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./script/descriptor.h:8, from ./wallet/walletutil.h:9, from wallet/walletutil.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-coinselection.o In file included from ./util/system.h:21, from wallet/coinselection.cpp:10: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-bdb.o In file included from ./util/system.h:21, from ./wallet/bdb.h:13, from wallet/bdb.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX wallet/libbitcoin_wallet_a-salvage.o In file included from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config.hpp:48, from /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/signals2/signal.hpp:17, from ./wallet/scriptpubkeyman.h:21, from ./wallet/wallet.h:26, from wallet/salvage.cpp:11: /home/pbulk/build/finance/bitcoin/work/.buildlink/include/boost/config/stdlib/libstdcpp3.hpp:406: warning: "BOOST_NO_CXX98_FUNCTION_BASE" redefined 406 | #define BOOST_NO_CXX98_FUNCTION_BASE | <command-line>: note: this is the location of the previous definition In file included from ./util/system.h:21, from ./wallet/bdb.h:13, from wallet/salvage.cpp:9: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ AR libbitcoin_wallet.a CXX libbitcoin_common_a-base58.o CXX libbitcoin_common_a-bech32.o CXX libbitcoin_common_a-chainparams.o In file included from ./util/system.h:21, from chainparams.cpp:14: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-coins.o CXX common/libbitcoin_common_a-bloom.o CXX libbitcoin_common_a-compressor.o CXX libbitcoin_common_a-core_read.o CXX libbitcoin_common_a-core_write.o In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./script/descriptor.h:8, from core_write.cpp:11: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from core_write.cpp:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-deploymentinfo.o CXX libbitcoin_common_a-external_signer.o In file included from ./script/signingprovider.h:15, from ./psbt.h:14, from external_signer.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX init/libbitcoin_common_a-common.o In file included from ./util/system.h:21, from init/common.cpp:15: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from init/common.cpp:11: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-key.o CXX libbitcoin_common_a-key_io.o CXX libbitcoin_common_a-merkleblock.o CXX libbitcoin_common_a-net_types.o CXX libbitcoin_common_a-netaddress.o CXX libbitcoin_common_a-netbase.o In file included from ./threadinterrupt.h:8, from ./util/sock.h:9, from ./netbase.h:15, from netbase.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' netbase.cpp:622:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-net_permissions.o In file included from ./threadinterrupt.h:8, from ./util/sock.h:9, from ./netbase.h:15, from net_permissions.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-outputtype.o CXX policy/libbitcoin_common_a-feerate.o CXX policy/libbitcoin_common_a-policy.o CXX libbitcoin_common_a-protocol.o In file included from ./util/system.h:21, from protocol.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-psbt.o CXX rpc/libbitcoin_common_a-rawtransaction_util.o CXX rpc/libbitcoin_common_a-external_signer.o In file included from ./util/system.h:21, from ./external_signer.h:9, from rpc/external_signer.cpp:6: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./logging.h:10, from ./util/system.h:20: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX rpc/libbitcoin_common_a-util.o In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from rpc/util.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./key_io.h:10, from rpc/util.cpp:6: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX libbitcoin_common_a-scheduler.o In file included from ./scheduler.h:9, from scheduler.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]' ./scheduler.h:80:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX script/libbitcoin_common_a-descriptor.o In file included from ./script/signingprovider.h:15, from ./outputtype.h:9, from ./script/descriptor.h:8, from script/descriptor.cpp:5: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX script/libbitcoin_common_a-miniscript.o CXX script/libbitcoin_common_a-sign.o CXX script/libbitcoin_common_a-signingprovider.o In file included from ./script/signingprovider.h:15, from script/signingprovider.cpp:7: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./support/lockedpool.h:11, from ./support/allocators/secure.h:9, from ./key.h:12, from ./script/signingprovider.h:10: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ CXX script/libbitcoin_common_a-standard.o CXX libbitcoin_common_a-warnings.o In file included from warnings.cpp:8: ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]' ./util/system.h:424:9: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ In file included from /opt/local/gcc13/include/c++/13.2.0/mutex:46, from ./threadsafety.h:9, from ./sync.h:14: /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ ./sync.h: In instantiation of 'bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]': ./sync.h:179:13: required from 'UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = GlobalMutex; Base = std::unique_lock<std::mutex>]' warnings.cpp:21:5: required from here ./sync.h:168:23: warning: ignoring return value of 'bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]', declared with attribute 'nodiscard' [-Wunused-result] 168 | Base::try_lock(); | ~~~~~~~~~~~~~~^~ /opt/local/gcc13/include/c++/13.2.0/bits/unique_lock.h:148:7: note: declared here 148 | try_lock() | ^~~~~~~~ AR libbitcoin_common.a CXX support/libbitcoin_util_a-lockedpool.o support/lockedpool.cpp: In member function 'void Arena::free(void*)': support/lockedpool.cpp:99:20: error: 'runtime_error' is not a member of 'std' 99 | throw std::runtime_error("Arena: invalid or double free"); | ^~~~~~~~~~~~~ support/lockedpool.cpp:22:1: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'? 21 | #include <algorithm> +++ |+#include <stdexcept> 22 | #ifdef ARENA_DEBUG support/lockedpool.cpp: In member function 'void LockedPool::free(void*)': support/lockedpool.cpp:320:16: error: 'runtime_error' is not a member of 'std' 320 | throw std::runtime_error("LockedPool: invalid address not pointing to any arena"); | ^~~~~~~~~~~~~ support/lockedpool.cpp:320:16: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'? gmake[2]: *** [Makefile:10456: support/libbitcoin_util_a-lockedpool.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/finance/bitcoin/work/bitcoin-24.0.1/src' gmake[1]: *** [Makefile:18957: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/finance/bitcoin/work/bitcoin-24.0.1/src' gmake: *** [Makefile:825: all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/finance/bitcoin *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/finance/bitcoin